## 官网版
FROM php:7.1-fpm
RUN docker-php-ext-install pdo pdo_mysql
RUN pecl install redis && docker-php-ext-enable redis
RUN docker-php-ext-install bcmath && docker-php-ext-enable bcmath
RUN apt-get update && apt-get install -y \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
    && docker-php-ext-install iconv mcrypt \
    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
    && docker-php-ext-install gd 
# COPY ./config/php.ini /usr/local/etc/php/
# COPY ./ /var/www/html/
EXPOSE 9000

# 去nginx-all项目参看启动流程
